<template>
  <div>
    <button @click="increment">Increment + {{step}}</button>
  </div>
</template>

<script>
import { incrementCounter } from '../vuex/actions';
export default {
    vuex: {
        actions: {
            increment: incrementCounter
        },
        getters: {
            step: function(state){
                return state.step;
            }
        }
    }
}
</script>
